<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>系统信息 </title>
    <meta name="robots" content="noindex, nofollow" />
    <meta http-equiv="Content-Type" content="text/html; charset=GBK" />
    <link href="styles/general.css" rel="stylesheet" type="text/css" />
    <link href="styles/main.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="js/transport.js"></script>

    <script type="text/javascript" src="js/common.js"></script>

</head>
<body>
    <form id="form1">
    <h1>
        <span class="action-span1"><a href="mainframe.jsp">
            首页</a> </span><span id="search_id" class="action-span1">- 系统信息 </span>
        <div style="clear: both">
        </div>
    </h1>
    <div class="list-div">
        <div style="background: #FFF; padding: 20px 50px; margin: 2px;">
            <table align="center" width="400">
                <tbody>
                    <tr>
                        <td width="50" valign="top">
                             <img src='img/information.gif' width='32' height='32' border='0' alt='information' />
                        </td>
                        <td style="font-size: 14px; font-weight: bold">
                            	<s:property value="msg"/>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td id="redirectionMsg">
                        如果您不做出选择，将在 <span id='spanSeconds'>5</span> 秒后跳转到第一个链接地址。
                            
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <ul style="margin: 0; padding: 0 10px" class="msg-link">
                                <li><a href='category_list.do'>返回菜单列表</a></li>
                            </ul>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
<script language='JavaScript'> 
var seconds = 5; 
var defaultUrl = 'category_list.do'; 
onload = function() 
 { 
  if (defaultUrl == 'javascript:history.go(-1)' && window.history.length == 0) 
  { 
    document.getElementById('redirectionMsg').innerHTML = ''; 
    return; 
  } 
  window.setInterval(redirection, 1000); 
}
function redirection() 
{ 
  if (seconds <= 0) 
  { 
    window.clearInterval(); 
    return; 
  } 
  seconds --; 
  document.getElementById('spanSeconds').innerHTML = seconds; 
  if (seconds == 0) 
  {
    location.href = defaultUrl; 
  } 
} 
</script> 

<div id="footer"><br /><s:property value="bottom"/></div>
</form>
</body>
</html>
